package com.redisson;

import org.junit.jupiter.api.Test;
import org.redisson.api.RCountDownLatch;
import org.redisson.api.RedissonClient;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

@SpringBootTest
class DemoApplicationTests2 {
	@Autowired
	private RedissonClient redisson;
	@Test
	void contextLoads() throws InterruptedException {

		RCountDownLatch latch = redisson.getCountDownLatch("anyCountDownLatch");
		latch.countDown();


	}

}
